//create用来创建一个对象，使用现有的对象来提供新对象的__proto__属性

let person = {
    print(){
        console.log(`name is ${this.name}`)
    }
}
let me = Object.create(person)
//let obj = {}
//obj.__proto__=Object.prototype;
me.name = 'zhangsan';
me.print();
console.log(me.__proto__===person)